package com.lvmama.pangolin.mybatis.mapper;

import java.util.List;
import java.util.Map;

import com.lvmama.pangolin.entity.BlackIPConditionVO;
import com.lvmama.pangolin.entity.IPListConditionVO;
import com.lvmama.pangolin.entity.IP;
import com.lvmama.pangolin.entity.IpBlack;

public interface IPMapper {
	/**  
	* IPMapper.java
	* @Author:Johnny
	* @Description:
	* @Date：2017年1月1日下午1:43:19  
	*/

	public List<IP> getIPList(IPListConditionVO iPListConditionVO);
	public int insertProxyIP(IP ip);
	public int insertProxyIPBatch(List<IP> list);
	public List<IP> queryIPOrderByid(Map<String,Object> param);
	public int updateIPStatusByid(IP ip);
	public int deleteUnvalidIP(IP ip);
	public List<IpBlack> getBlackIPList(BlackIPConditionVO blackIPConditionVO);
	public int insertBlackIP(Map<String,Object> param);
	
	
}
